/* 
 * File:   outil.h
 * Author: landry
 *
 * Created on 10 octobre 2009, 09:06
 */

#ifndef _OUTIL_H
#define	_OUTIL_H

#include "client.h"
//#include "externalVariable.h"
//#include "globalVariable.h"
#include <sstream>
#include <iostream>
#include <string.h>
#include <fstream>
#include <vector>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <list>
//#include "simulation.h"

using namespace std;

 
extern "C++" list<CLIENTS> clients;

class Outil {
public:
   
    
    
    Outil();
    Outil(const Outil& orig);
    Outil(char* file_name);

    void tokenize(const string& str,vector<string>& tokens,string delimiters);

    int conversion(string st);

   // list<CLIENTS> getClient(){return clients;};

    void setName(char*name){this->file_name = name;}

    void readFile();
    void writeFile(char* Output_file_name);
    virtual ~Outil();
private:
    char* file_name;
    


};

#endif	/* _OUTIL_H */

